package com.data
{
	[Bindable]
	public class GenIdFilterData extends ScoreFilterData
	{
		public function GenIdFilterData(fieldName:String, label:String)
		{
			super(fieldName, label);
		}
		
		public override function isOk(gen:Object):Boolean
		{
			gen = gen as GenData;
			if (selected == false) return true;
			return gen[fieldName] >= curMin && gen[fieldName] <= curMax;				
		}		
	}
}